﻿holy_order_leader_character = {
	age = { 20 50 }
	trait = order_member
	#Education
	random_traits_list = {
		count = 1
		education_martial_1 = {
			weight = { base = 5 }
		}
		education_learning_1 = {
			weight = { base = 5 }
		}
		education_martial_2 = {
			weight = { base = 10 }
		}
		education_learning_2 = {
			weight = { base = 10 }
		}
		education_martial_3 = {
			weight = { base = 20 }
		}
		education_learning_3 = {
			weight = { base = 20 }
		}
		education_martial_4 = {
			weight = { base = 10 }
		}
		education_learning_4 = {
			weight = { base = 10 }
		}
	}
	#Personality
	random_traits_list = {
		count = 3
		ambitious = {}
		arrogant = {}
		just = {}
		zealous = {}
		brave = {}
		diligent = {}
		wrathful = {}
		humble = {}
		callous = {}
		stubborn = {}
		vengeful = {}
	}
	#Commander
	random_traits_list = {
		count = 1
		unyielding_defender = {
			weight = { base = 5 }
		}
		forder = {
			weight = { base = 5 }
		}
		logistician = {
			weight = { base = 10 }
		}
		military_engineer = {
			weight = { base = 10 }
		}
		organizer = {
			weight = { base = 10 }
		}
		rough_terrain_expert = {
			weight = { base = 20 }
		}
		aggressive_attacker = {
			weight = { base = 20 }
		}
		reckless = {
			weight = { base = 20 }
		}
		open_terrain_expert = {
			weight = { base = 20 }
		}
		desert_warrior = {
			trigger = {
				root = {
					any_sub_realm_barony = {
						title_province = {
							terrain = desert
						}
					}
				}
			}
			weight = { base = 50 }
		}
		jungle_stalker = {
			trigger = {
				root = {
					any_sub_realm_barony = {
						title_province = {
							terrain = jungle
						}
					}
				}
			}
			weight = { base = 50 }
		}
		holy_warrior = {
			weight = { base = 50 }
		}
	}	
	faith = root.faith
	culture = root.culture
	gender_female_chance = root_faith_clergy_gender_female_chance
	martial = {
		min_template_high_skill
		max_template_high_skill
	}
	learning = {
		min_template_high_skill
		max_template_high_skill
	}
	after_creation = {
		if = {
			limit = { has_dlc_feature = tours_and_tournaments }
			add_trait = tourney_participant
			add_random_tourney_participant_level_effect = yes
		}
		shogunate_set_fictional_nickname_effect = yes
	}
}

religious_leader_character = {
	age = { 20 50 }
	#Education
	random_traits_list = {
		count = 1
		education_learning_1 = {
			weight = { base = 10 }
		}
		education_learning_2 = {
			weight = { base = 20 }
		}
		education_learning_3 = {
			weight = { base = 30 }
		}
		education_learning_4 = {
			weight = { base = 20 }
		}
	}
	#Neutral Personality
	random_traits_list = {
		count = 1
		zealous = {
			weight = { base = 50 }
		}
		diligent = {
			weight = { base = 30 }
		}
		gregarious = {
			weight = { base = 20 }
		}
	}
	#Virtue Personality
	##Give them two traits which are considered virtuous in their faith. Traits which would be the opposite of a neutral personality are omitted.
	random_traits_list = {
		count = 2
		lustful = {
			trigger = {
				root.faith = { trait_is_virtue = lustful }
			}
		}
		chaste = {
			trigger = {
				root.faith = { trait_is_virtue = chaste }
			}
		}
		gluttonous = {
			trigger = {
				root.faith = { trait_is_virtue = gluttonous }
			}
		}
		temperate = {
			trigger = {
				root.faith = { trait_is_virtue = temperate }
			}
		}
		greedy = {
			trigger = {
				root.faith = { trait_is_virtue = greedy }
			}
		}
		generous = {
			trigger = {
				root.faith = { trait_is_virtue = generous }
			}
		}
		wrathful = {
			trigger = {
				root.faith = { trait_is_virtue = wrathful }
			}
		}
		calm = {
			trigger = {
				root.faith = { trait_is_virtue = calm }
			}
		}
		patient = {
			trigger = {
				root.faith = { trait_is_virtue = patient }
			}
		}
		impatient = {
			trigger = {
				root.faith = { trait_is_virtue = impatient }
			}
		}
		arrogant = {
			trigger = {
				root.faith = { trait_is_virtue = arrogant }
			}
		}
		humble = {
			trigger = {
				root.faith = { trait_is_virtue = humble }
			}
		}
		deceitful = {
			trigger = {
				root.faith = { trait_is_virtue = deceitful }
			}
		}
		honest = {
			trigger = {
				root.faith = { trait_is_virtue = honest }
			}
		}
		craven = {
			trigger = {
				root.faith = { trait_is_virtue = craven }
			}
		}
		brave = {
			trigger = {
				root.faith = { trait_is_virtue = brave }
			}
		}
		ambitious = {
			trigger = {
				root.faith = { trait_is_virtue = ambitious }
			}
		}
		content = {
			trigger = {
				root.faith = { trait_is_virtue = content }
			}
		}
		arbitrary = {
			trigger = {
				root.faith = { trait_is_virtue = arbitrary }
			}
		}
		just = {
			trigger = {
				root.faith = { trait_is_virtue = just }
			}
		}
		paranoid = {
			trigger = {
				root.faith = { trait_is_virtue = paranoid }
			}
		}
		trusting = {
			trigger = {
				root.faith = { trait_is_virtue = trusting }
			}
		}
		compassionate = {
			trigger = {
				root.faith = { trait_is_virtue = compassionate }
			}
		}
		callous = {
			trigger = {
				root.faith = { trait_is_virtue = callous }
			}
		}
		sadistic = {
			trigger = {
				root.faith = { trait_is_virtue = sadistic }
			}
		}
		stubborn = {
			trigger = {
				root.faith = { trait_is_virtue = stubborn }
			}
		}
		fickle = {
			trigger = {
				root.faith = { trait_is_virtue = fickle }
			}
		}
		vengeful = {
			trigger = {
				root.faith = { trait_is_virtue = vengeful }
			}
		}
		forgiving = {
			trigger = {
				root.faith = { trait_is_virtue = forgiving }
			}
		}
	}
	faith = root.faith
	culture = root.culture
	gender_female_chance = root_faith_clergy_gender_female_chance
	martial = {
		min_template_high_skill
		max_template_high_skill
	}
	learning = {
		min_template_high_skill
		max_template_high_skill
	}
	after_creation = {
		shogunate_set_fictional_nickname_effect = yes
	}
}
